package com.edu.demo.entity;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 结题表
 * </p>
 *
 * @author jixuewei
 * @since 2023-01-12
 */
@ApiModel(value = "Conclusion对象", description = "结题表")
public class Conclusion implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private Integer projectId;

    private Integer stuId;

    @Setter @Getter
    private String stuName;

    @Setter @Getter
    private String updateStuName;

    private String reportUrl;

    private String videoUrl;

    @ApiModelProperty("上传时间")
    @Getter@Setter
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date uploadTime;

    @ApiModelProperty("更新时间")
    @Getter@Setter
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date updateTime;

    @ApiModelProperty("更新的学生id")
    private Integer updateStuId;

    @ApiModelProperty("备注")
    private String remark;

    @ApiModelProperty("老师点评")
    private String comment;

    @ApiModelProperty("0未通过，1已通过")
    private Byte through;

    @ApiModelProperty("0未读，1已读")
    private Byte status;

    /**
     * 结题证明路径
     */
    private String prove;

    /**
     * 提交结题证明的管理员
     */
    private Integer adminId;

    @TableField(exist = false)
    private Project project;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getProjectId() {
        return projectId;
    }

    public void setProjectId(Integer projectId) {
        this.projectId = projectId;
    }

    public Integer getStuId() {
        return stuId;
    }

    public void setStuId(Integer stuId) {
        this.stuId = stuId;
    }

    public String getReportUrl() {
        return reportUrl;
    }

    public void setReportUrl(String reportUrl) {
        this.reportUrl = reportUrl;
    }

    public String getVideoUrl() {
        return videoUrl;
    }

    public void setVideoUrl(String videoUrl) {
        this.videoUrl = videoUrl;
    }


    public Integer getUpdateStuId() {
        return updateStuId;
    }

    public void setUpdateStuId(Integer updateStuId) {
        this.updateStuId = updateStuId;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getComment() {
        return comment;
    }

    public void setComment(String comment) {
        this.comment = comment;
    }

    public Byte getThrough() {
        return through;
    }

    public void setThrough(Byte through) {
        this.through = through;
    }

    public Byte getStatus() {
        return status;
    }

    public void setStatus(Byte status) {
        this.status = status;
    }


    public String getProve() {
        return prove;
    }

    public void setProve(String prove) {
        this.prove = prove;
    }

    public Integer getAdminId() {
        return adminId;
    }

    public void setAdminId(Integer adminId) {
        this.adminId = adminId;
    }

    public Project getProject() {
        return project;
    }

    public void setProject(Project project) {
        this.project = project;
    }

    @Override
    public String toString() {
        return "Conclusion{" +
            "id = " + id +
            ", projectId = " + projectId +
            ", stuId = " + stuId +
            ", reportUrl = " + reportUrl +
            ", videoUrl = " + videoUrl +
            ", uploadTime = " + uploadTime +
            ", updateTime = " + updateTime +
            ", updateStuId = " + updateStuId +
            ", remark = " + remark +
            ", comment = " + comment +
            ", through = " + through +
            ", status = " + status +
        "}";
    }
}
